body{
    min-width: 320px;
    max-width: 540px;
    margin:0 auto;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;
}

*{
    -webkit-tap-highlight-color: transparent;
}
/* 在移动端浏览器默认的外观在ios上加上这个属性才能给按钮和输入框自定义样式 */
input{
    -webkit-appearance: none;
}
/* 禁用长按页面时的弹出菜单 */
img a{
    -webkit-touch-callout: none;
}

.header{
    width: 100%;
    background-color: transparent;
    position: relative;
    height: 44px;
    position: fixed;
    z-index: 20;
}

.header .more{
    z-index: 120;
    position: absolute;
    width: 40px;
    height: 44px;
}

.header .more span{
    margin: 14px 0 0 15px;
    width: 20px;
    height: 18px;
    display: block;
    background: url() no-repeat;
    background-size: 100% 100%;
}

.header .search{
    margin-right: 52px;
    height: 30px;
    position: relative;
    margin-left: 30px;
}


.header .search i:nth-child(1){
    display: block;
    width: 20px;
    height: 15px;
    background: url() no-repeat;
    background-size: 20px 15px;
    margin: 8px 8px 0 15px;
    position: relative;
    z-index: 1;
    float: left;
    margin-top: 15px;
}


.header .search i:nth-child(1)::after{
    content: "";
    position: absolute;
    border-right: 1px solid #ddd;
    top: 0;
    left: 26px;
    height: 16px;
}

.header .search i:nth-child(2){
    display: block;
    width: 18px;
    height: 15px;
    background: url(https://st.360buyimg.com/so/images/search/jd-sprites.png?__inline=) no-repeat;
    background-position: -80px 0;
    background-size: 200px;
    margin: 8px 0 0 15px;
    position: relative;
    z-index: 1;
    float: left;
    margin-top: 15px;
    margin-left: 0px;
}


.header .search-input{
    display: inline-block;
    width: 100%;
    border: none;
    border-radius: 15px;
    height: 30px;
    overflow: hidden;
    background: #f7f7f7;
    font-size: 12px;
    -webkit-box-align: center;
    line-height: 30px;
    position: absolute;
    top: 7px;
    left: 10px;
    padding-left: 35px;
    padding-right: 10px;
    box-sizing: border-box;

}

.header .search-input input{
    border: 0;
    background: 0 0;
    font-size: 12px;
    color: #232326;
    padding-left: 40px;
    width: 19em;
    box-sizing: border-box;
    -webkit-box-flex: 1;
    height: auto;
    margin: 0 0 0 5px;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    line-height: 16px;
}

.header .login{
    display: block;
    z-index: 120;
    position: absolute;
    top: 0px;
    right: 0;
    width: 40px;
    height: 44px;
}
.header .login span{
    display: inline-block;
    margin: 10px 0;
    color: #fff;
    font-size: 14px;
}